package main

import (
	"net/http"
	"fmt"
)

func main() {

	http.HandleFunc("/", func(writer http.ResponseWriter, request *http.Request) {
		writer.Write([]byte("HelloWorld"))


		fmt.Printf("%v\n", writer)
		//fmt.Printf("%v\n", request)
	})

	http.ListenAndServe(":9000", nil)

}


/*
请求方式 请求Url http协议和版本

请求头   host  留言器

请求体



 */
